home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / glibc108.gz / glibc108 / glibc-1.08.1 / posix / testfnm.c < prev    next >
C/C++ Source or Header  |  1993-03-28  |  219b  |  13 lines

  1. #include <stdio.h>
  2. #include "fnmatch.h"
  3.  
  4. int
  5. main (c, v)
  6.      int c;
  7.      char **v;
  8. {
  9.   printf ("%d\n", fnmatch (v[1], v[2], FNM_PERIOD));
  10.   printf ("%d\n", fnmatch (v[1], v[2], FNM_CASEFOLD|FNM_PERIOD));
  11.   exit (0);
  12. }
  13.